const {resolve}=resolve("path");
module.exports={
    entry:'./src/js/index.js',
    output:{
        filename:'./built.js',// 输出文件名
        path: resolve(__dirname, 'build/js') // 输出文件路径配置
    },
    mode: 'development' //开发环境
}